home *** CD-ROM | disk | FTP | other *** search
/ AGA Toolkit '97 / The AGA Toolkit '97.iso / programming / asm / popt / dhr020i.a < prev    next >
Encoding:
Text File  |  1996-09-07  |  23.2 KB  |  585 lines

  1. ; POPT OUTPUT "work:dev/c/progs/popt/dhr020i.a"
  2. ; FLAGS=debug 68020/030 newinsts 
  3. ; call_refs='' call_sets=D0/D1/A0/A1 used_rts=D0/D2-D7/A2-A6
  4.  
  5.     section    text,code
  6.     xdef    _LOOPS
  7.     section    data,data
  8.     ds.w    0
  9. _LOOPS    dc.l    50000
  10.     xdef    _IntGlob
  11.     section    bss,bss
  12.     ds.w    0
  13. _IntGlob ds.b    4
  14.     xdef    _BoolGlob
  15.     ds.w    0
  16. _BoolGlob ds.b    4
  17.     xdef    _Char1Glob
  18.     ds.w    0
  19. _Char1Glob ds.b    1
  20.     xdef    _Char2Glob
  21.     ds.w    0
  22. _Char2Glob ds.b    1
  23.     xdef    _Array1Glob
  24.     ds.w    0
  25. _Array1Glob ds.b    204
  26.     xdef    _Array2Glob
  27.     ds.w    0
  28. _Array2Glob ds.b    10404
  29.     xdef    _PtrGlb
  30.     ds.w    0
  31. _PtrGlb    ds.b    4
  32.     xdef    _PtrGlbNext
  33.     ds.w    0
  34. _PtrGlbNext ds.b    4
  35.     section    text,code
  36.     ds.l    0
  37.     procstart
  38.     xdef    _main
  39. _main    move.l    D2,-(sp)        ; ref=0480 set=0080 live=f8fc
  40.     move.l    #5000,_LOOPS(A4)    ; ref=0010 set=0000 live=f8fc
  41.     bra    l3            ; ref=0010 set=0000 live=f8fc
  42. l2    move.l    _LOOPS(A4),D0        ; ref=0010 set=0100 live=fdfc
  43.     moveq    #85,D1            ; ref=0000 set=0200 live=fffc
  44.     not.b    D1            ; ref=0200 set=0200 live=fffc
  45.     bsr    __muls            ; ref=0390 set=0383 live=fdfc
  46.     move.l    #1000,D1        ; ref=0000 set=0200 live=fffc
  47.     bsr    __muls            ; ref=0390 set=0383 live=fdfc
  48.     move.l    D2,D1            ; ref=0400 set=0200 live=fbfc
  49.     addq.l    #1,D1            ; ref=0200 set=0200 live=fbfc
  50.     bsr    __divs            ; ref=0390 set=0383 live=f9fc
  51.     move.l    D0,_LOOPS(A4)        ; ref=0110 set=0000 live=f8fc
  52. l3    bsr    _Proc0            ; ref=0090 set=0383 live=f9fc
  53.     move.l    D0,D2            ; ref=0100 set=0400 live=fcfc
  54.     cmp.l    #15000,D2        ; ref=0400 set=0000 live=fcfc
  55.     blt    l2            ; ref=0010 set=0000 live=fcfc
  56.     moveq.l    #0,D0            ; ref=0000 set=0100 live=f9fc
  57.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=fdfc
  58.     rts                ; ref=fdfc set=0080 live=fd7c
  59.     procend
  60.     procstart
  61.     xdef    _fake
  62. _fake    rts                ; ref=fdfc set=0080 live=fd7c
  63.     procend
  64.     procstart
  65.     xdef    _Proc0
  66. _Proc0    movem.l    D2-D7,-(sp)        ; ref=fc80 set=0080 live=00fc
  67.     link    A5,#-76            ; ref=00a0 set=00a0 live=00fc
  68.     bsr    _Forbid            ; ref=0090 set=0383 live=00fc
  69.     bsr    _timer            ; ref=0090 set=0383 live=01fc
  70.     move.l    D0,D4            ; ref=0100 set=1000 live=10fc
  71.     moveq.l    #0,D7            ; ref=0000 set=8000 live=90fc
  72.     bra    l19            ; ref=0010 set=0000 live=90fc
  73. l16    addq.l    #1,D7            ; ref=8000 set=8000 live=90fc
  74. l19    cmp.l    _LOOPS(A4),D7        ; ref=8010 set=0000 live=90fc
  75.     blt    l16            ; ref=0010 set=0000 live=90fc
  76.     bsr    _timer            ; ref=0090 set=0383 live=11fc
  77.     move.l    D0,D6            ; ref=0100 set=4000 live=50fc
  78.     sub.l    D4,D6            ; ref=5000 set=4000 live=40fc
  79.     bsr    _Permit            ; ref=0090 set=0383 live=40fc
  80.     pea    48.W            ; ref=0090 set=0080 live=40fc
  81.     bsr    _malloc            ; ref=0090 set=0383 live=41fc
  82.     move.l    D0,_PtrGlbNext(A4)    ; ref=0110 set=0000 live=40fc
  83.     pea    48.W            ; ref=0090 set=0080 live=40fc
  84.     bsr    _malloc            ; ref=0090 set=0383 live=41fc
  85.     move.l    D0,A0            ; ref=0100 set=0001 live=40fd
  86.     move.l    A0,_PtrGlb(A4)        ; ref=0011 set=0000 live=40fd
  87.     moveq.l    #2,D0            ; ref=0000 set=0100 live=41fd
  88.     move.l    _PtrGlbNext(A4),(A0)    ; ref=0011 set=0000 live=41fd
  89.     clr.l    4(A0)            ; ref=0001 set=0000 live=41fd
  90.     move.l    D0,8(A0)        ; ref=0101 set=0000 live=40fd
  91.     moveq.l    #40,D0            ; ref=0000 set=0100 live=41fd
  92.     move.l    D0,12(A0)        ; ref=0101 set=0000 live=40fd
  93.     pea.l    l34(pc)            ; ref=0080 set=0080 live=40fd
  94.     pea.l    16(A0)            ; ref=0081 set=0080 live=40fc
  95.     bsr    _strcpy            ; ref=0090 set=0383 live=40fc
  96.     lea    16(sp),sp        ; ref=0080 set=0080 live=40fc
  97.     moveq.l    #10,D0            ; ref=0000 set=0100 live=41fc
  98.     move.l    D0,_Array2Glob+1660(A4)    ; ref=0110 set=0000 live=40fc
  99.     bsr    _timer            ; ref=0090 set=0383 live=41fc
  100.     move.l    D0,D4            ; ref=0100 set=1000 live=50fc
  101.     bsr    _Forbid            ; ref=0090 set=0383 live=50fc
  102.     moveq.l    #0,D7            ; ref=0000 set=8000 live=d0fc
  103.     bra    l23            ; ref=0010 set=0000 live=d0fc
  104. l20    bsr    _Proc5            ; ref=0090 set=0383 live=d0fc
  105.     bsr    _Proc4            ; ref=0090 set=0383 live=d0fc
  106.     moveq.l    #2,D0            ; ref=0000 set=0100 live=d1fc
  107.     move.l    D0,-4(A5)        ; ref=0120 set=0000 live=d0fc
  108.     moveq.l    #3,D2            ; ref=0000 set=0400 live=d4fc
  109.     pea.l    l35(pc)            ; ref=0080 set=0080 live=d4fc
  110.     pea.l    -76(A5)            ; ref=00a0 set=0080 live=d4fc
  111.     bsr    _strcpy            ; ref=0090 set=0383 live=d4fc
  112.     moveq.l    #1,D0            ; ref=0000 set=0100 live=d5fc
  113.     move.l    D0,-14(A5)        ; ref=0120 set=0000 live=d4fc
  114.     pea.l    -76(A5)            ; ref=00a0 set=0080 live=d4fc
  115.     pea.l    -45(A5)            ; ref=00a0 set=0080 live=d4fc
  116.     bsr    _Func2            ; ref=0090 set=0383 live=d5fc
  117.     lea    16(sp),sp        ; ref=0080 set=0080 live=d5fc
  118.     moveq.l    #0,D1            ; ref=0000 set=0200 live=d7fc
  119.     tst.l    D0            ; ref=0100 set=0000 live=d6fc
  120.     seq.b    D1            ; ref=0200 set=0200 live=d6fc
  121.     neg.b    D1            ; ref=0200 set=0200 live=d6fc
  122.     move.l    D1,_BoolGlob(A4)    ; ref=0210 set=0000 live=d4fc
  123.     bra    l25            ; ref=0010 set=0000 live=d4fc
  124. l24    move.w    -2(A5),D0        ; ref=0020 set=0100 live=d5fc
  125.     ext.l    D0            ; ref=0100 set=0100 live=d5fc
  126.     move.l    D0,D1            ; ref=0100 set=0200 live=d7fc
  127.     asl.l    #2,D1            ; ref=0200 set=0200 live=d7fc
  128.     add.l    D1,D0            ; ref=0300 set=0100 live=d5fc
  129.     sub.l    D2,D0            ; ref=0500 set=0100 live=d5fc
  130.     move.l    D0,-8(A5)        ; ref=0120 set=0000 live=d4fc
  131.     pea.l    -8(A5)            ; ref=00a0 set=0080 live=d4fc
  132.     move.l    D2,-(sp)        ; ref=0480 set=0080 live=d4fc
  133.     move.l    -4(A5),-(sp)        ; ref=00a0 set=0080 live=d4fc
  134.     bsr    _Proc7            ; ref=0090 set=0383 live=d4fc
  135.     lea    12(sp),sp        ; ref=0080 set=0080 live=d4fc
  136.     addq.l    #1,-4(A5)        ; ref=0020 set=0000 live=d4fc
  137. l25    cmp.l    -4(A5),D2        ; ref=0420 set=0000 live=d4fc
  138.     bgt    l24            ; ref=0010 set=0000 live=d4fc
  139.     move.l    -8(A5),-(sp)        ; ref=00a0 set=0080 live=d4fc
  140.     move.l    -4(A5),-(sp)        ; ref=00a0 set=0080 live=d4fc
  141.     pea.l    _Array2Glob(A4)        ; ref=0090 set=0080 live=d4fc
  142.     pea.l    _Array1Glob(A4)        ; ref=0090 set=0080 live=d4fc
  143.     bsr    _Proc8            ; ref=0090 set=0383 live=d4fc
  144.     move.l    _PtrGlb(A4),(sp)    ; ref=0090 set=0000 live=d4fc
  145.     bsr    _Proc1            ; ref=0090 set=0383 live=d4fc
  146.     lea    16(sp),sp        ; ref=0080 set=0080 live=d4fc
  147.     moveq.l    #65,D3            ; ref=0000 set=0800 live=dcfc
  148.     bra    l30            ; ref=0010 set=0000 live=dcfc
  149. l27    pea    67.W            ; ref=0090 set=0080 live=dcfc
  150.     move.b    D3,D0            ; ref=0800 set=0100 live=ddfc
  151.     extb.l    D0            ; ref=0100 set=0100 live=ddfc
  152.     move.l    D0,-(sp)        ; ref=0180 set=0080 live=dcfc
  153.     bsr    _Func1            ; ref=0090 set=0383 live=ddfc
  154.     addq.l    #8,sp            ; ref=0080 set=0080 live=ddfc
  155.     cmp.l    -14(A5),D0        ; ref=0120 set=0000 live=dcfc
  156.     bne    l32            ; ref=0010 set=0000 live=dcfc
  157.     pea.l    -14(A5)            ; ref=00a0 set=0080 live=dcfc
  158.     clr.l    -(sp)            ; ref=0080 set=0080 live=dcfc
  159.     bsr    _Proc6            ; ref=0090 set=0383 live=dcfc
  160.     addq.l    #8,sp            ; ref=0080 set=0080 live=dcfc
  161. l32    addq.b    #1,D3            ; ref=0800 set=0800 live=dcfc
  162. l30    cmp.b    _Char2Glob(A4),D3    ; ref=0810 set=0000 live=dcfc
  163.     ble    l27            ; ref=0010 set=0000 live=dcfc
  164.     move.l    D2,D0            ; ref=0400 set=0100 live=d1fc
  165.     move.l    -4(A5),D1        ; ref=0020 set=0200 live=d3fc
  166.     bsr    __muls            ; ref=0390 set=0383 live=d1fc
  167.     move.l    D0,-8(A5)        ; ref=0120 set=0000 live=d1fc
  168.     move.l    -4(A5),D1        ; ref=0020 set=0200 live=d3fc
  169.     bsr    __divs            ; ref=0390 set=0383 live=d1fc
  170.     move.l    D0,D1            ; ref=0100 set=0200 live=d2fc
  171.     move.w    -6(A5),D0        ; ref=0020 set=0100 live=d3fc
  172.     neg.w    D1            ; ref=0200 set=0200 live=d3fc
  173.     add.w    D0,D1            ; ref=0300 set=0200 live=d2fc
  174.     ext.l    D1            ; ref=0200 set=0200 live=d2fc
  175.     move.l    D1,D0            ; ref=0200 set=0100 live=d3fc
  176.     asl.l    #3,D1            ; ref=0200 set=0200 live=d3fc
  177.     sub.l    D0,D1            ; ref=0300 set=0200 live=d2fc
  178.     sub.l    -4(A5),D1        ; ref=0220 set=0200 live=d2fc
  179.     move.l    D1,-(sp)        ; ref=0280 set=0080 live=d0fc
  180.     bsr    _fake            ; ref=0090 set=0383 live=d0fc
  181.     pea.l    -4(A5)            ; ref=00a0 set=0080 live=d0fc
  182.     bsr    _Proc2            ; ref=0090 set=0383 live=d0fc
  183.     addq.l    #8,sp            ; ref=0080 set=0080 live=d0fc
  184.     addq.l    #1,D7            ; ref=8000 set=8000 live=d0fc
  185. l23    cmp.l    _LOOPS(A4),D7        ; ref=8010 set=0000 live=d0fc
  186.     blt    l20            ; ref=0010 set=0000 live=d0fc
  187.     bsr    _Permit            ; ref=0090 set=0383 live=50fc
  188.     bsr    _timer            ; ref=0090 set=0383 live=51fc
  189.     sub.l    D4,D0            ; ref=1100 set=0100 live=41fc
  190.     move.l    D0,D5            ; ref=0100 set=2000 live=60fc
  191.     sub.l    D6,D5            ; ref=6000 set=2000 live=20fc
  192.     move.l    D5,D0            ; ref=2000 set=0100 live=21fc
  193.     move.l    #1000,D1        ; ref=0000 set=0200 live=23fc
  194.     bsr    __mods            ; ref=0390 set=0383 live=21fc
  195.     move.l    D0,-(sp)        ; ref=0180 set=0080 live=20fc
  196.     move.l    D5,D0            ; ref=2000 set=0100 live=21fc
  197.     move.l    #1000,D1        ; ref=0000 set=0200 live=23fc
  198.     bsr    __divs            ; ref=0390 set=0383 live=21fc
  199.     move.l    D0,-(sp)        ; ref=0180 set=0080 live=20fc
  200.     move.l    _LOOPS(A4),-(sp)    ; ref=0090 set=0080 live=20fc
  201.     pea.l    l36(pc)            ; ref=0080 set=0080 live=20fc
  202.     bsr    _printf            ; ref=0090 set=0383 live=20fc
  203.     move.l    _LOOPS(A4),D0        ; ref=0010 set=0100 live=21fc
  204.     move.l    #1000,D1        ; ref=0000 set=0200 live=23fc
  205.     bsr    __muls            ; ref=0390 set=0383 live=21fc
  206.     addq.l    #1,D5            ; ref=2000 set=2000 live=21fc
  207.     move.l    D5,D1            ; ref=2000 set=0200 live=23fc
  208.     bsr    __divs            ; ref=0390 set=0383 live=21fc
  209.     move.l    D0,(sp)            ; ref=0180 set=0000 live=20fc
  210.     pea.l    l37(pc)            ; ref=0080 set=0080 live=20fc
  211.     bsr    _printf            ; ref=0090 set=0383 live=207c
  212.     move.l    D5,D0            ; ref=2000 set=0100 live=017c
  213.     unlk    A5            ; ref=0020 set=00a0 live=01fc
  214.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=05fc
  215.     move.l    (sp)+,D3        ; ref=0080 set=0880 live=0dfc
  216.     move.l    (sp)+,D4        ; ref=0080 set=1080 live=1dfc
  217.     move.l    (sp)+,D5        ; ref=0080 set=2080 live=3dfc
  218.     move.l    (sp)+,D6        ; ref=0080 set=4080 live=7dfc
  219.     move.l    (sp)+,D7        ; ref=0080 set=8080 live=fdfc
  220.     rts                ; ref=fdfc set=0080 live=fd7c
  221.     procend
  222.     procstart
  223.     xdef    _timer
  224. _timer    move.l    D2,-(sp)        ; ref=0480 set=0080 live=f8fc
  225.     link    A5,#-8            ; ref=00a0 set=00a0 live=f8fc
  226.     pea.l    -8(A5)            ; ref=00a0 set=0080 live=f8fc
  227.     pea.l    -4(A5)            ; ref=00a0 set=0080 live=f8fc
  228.     bsr    _CurrentTime        ; ref=0090 set=0383 live=f8fc
  229.     addq.l    #8,sp            ; ref=0080 set=0080 live=f8fc
  230.     move.l    -4(A5),D0        ; ref=0020 set=0100 live=f9fc
  231.     move.l    #1000,D1        ; ref=0000 set=0200 live=fbfc
  232.     bsr    __mulu            ; ref=0390 set=0383 live=f9fc
  233.     move.l    D0,D2            ; ref=0100 set=0400 live=fcfc
  234.     move.l    -8(A5),D0        ; ref=0020 set=0100 live=fdfc
  235.     move.l    #1000,D1        ; ref=0000 set=0200 live=fffc
  236.     bsr    __divu            ; ref=0390 set=0383 live=fd7c
  237.     add.l    D2,D0            ; ref=0500 set=0100 live=f97c
  238.     unlk    A5            ; ref=0020 set=00a0 live=f9fc
  239.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=fdfc
  240.     rts                ; ref=fdfc set=0080 live=fd7c
  241.     procend
  242.     procstart
  243.     xdef    _Proc1
  244. _Proc1    move.l    A3,-(sp)        ; ref=0088 set=0080 live=fcf4
  245.     move.l    A2,-(sp)        ; ref=0084 set=0080 live=fcf0
  246.     move.l    l63-4(sp),A2        ; ref=0080 set=0004 live=fcf4
  247.     move.l    (A2),A3            ; ref=0004 set=0008 live=fcfc
  248.     move.l    _PtrGlb(A4),A1        ; ref=0010 set=0002 live=fcfe
  249.     moveq.l    #11,D0            ; ref=0000 set=0100 live=fdfe
  250. l67    move.l    (A1)+,(A3)+        ; ref=000a set=000a live=fdfe
  251.     dbf    D0,l67            ; ref=0110 set=0100 live=fdfe
  252.     moveq.l    #5,D0            ; ref=0000 set=0100 live=fdf4
  253.     move.l    D0,12(A2)        ; ref=0104 set=0000 live=fdf4
  254.     move.l    (A2),A0            ; ref=0004 set=0001 live=fdf5
  255.     move.l    D0,12(A0)        ; ref=0101 set=0000 live=fcf5
  256.     move.l    A0,(A0)            ; ref=0001 set=0000 live=fcf5
  257.     move.l    A0,-(sp)        ; ref=0081 set=0080 live=fcf4
  258.     bsr    _Proc3            ; ref=0090 set=0383 live=fcf4
  259.     addq.l    #4,sp            ; ref=0080 set=0080 live=fcf4
  260.     move.l    (A2),A0            ; ref=0004 set=0001 live=fcf5
  261.     tst.l    4(A0)            ; ref=0001 set=0000 live=fcf5
  262.     bne    l59            ; ref=0010 set=0000 live=fcf5
  263.     moveq.l    #6,D0            ; ref=0000 set=0100 live=fdf5
  264.     move.l    D0,12(A0)        ; ref=0101 set=0000 live=fcf5
  265.     pea.l    8(A0)            ; ref=0081 set=0080 live=fcf4
  266.     move.l    8(A2),-(sp)        ; ref=0084 set=0080 live=fcf4
  267.     bsr    _Proc6            ; ref=0090 set=0383 live=fcf4
  268.     move.l    (A2),A0            ; ref=0004 set=0001 live=fcf1
  269.     move.l    _PtrGlb(A4),A1        ; ref=0010 set=0002 live=fcf3
  270.     move.l    (A1),(A0)        ; ref=0003 set=0000 live=fcf1
  271.     pea.l    12(A0)            ; ref=0081 set=0080 live=fcf1
  272.     pea    10.W            ; ref=0090 set=0080 live=fcf1
  273.     move.l    12(A0),-(sp)        ; ref=0081 set=0080 live=fcf0
  274.     bsr    _Proc7            ; ref=0090 set=0383 live=fdf0
  275.     lea    20(sp),sp        ; ref=0080 set=0080 live=fdf0
  276.     bra    l60            ; ref=0010 set=0000 live=fdf0
  277. l59    move.l    (A2),A0            ; ref=0004 set=0001 live=fcf5
  278.     moveq.l    #11,D0            ; ref=0000 set=0100 live=fdf5
  279.     move.l    A2,A1            ; ref=0004 set=0002 live=fdf3
  280. l69    move.l    (A0)+,(A1)+        ; ref=0003 set=0003 live=fdf3
  281.     dbf    D0,l69            ; ref=0110 set=0100 live=fdf3
  282. l60    move.l    (sp)+,A2        ; ref=0080 set=0084 live=fdf4
  283.     move.l    (sp)+,A3        ; ref=0080 set=0088 live=fdfc
  284.     rts                ; ref=fdfc set=0080 live=fd7c
  285. l63    equ    16
  286.     procend
  287.     procstart
  288.     xdef    _Proc2
  289. _Proc2    move.l    D2,-(sp)        ; ref=0480 set=0080 live=fafc
  290.     moveq.l    #10,D0            ; ref=0000 set=0100 live=fbfc
  291.     move.l    l82-4(sp),A0        ; ref=0080 set=0001 live=fbfd
  292.     add.l    (A0),D0            ; ref=0101 set=0100 live=fbfd
  293. l70    cmp.b    #65,_Char1Glob(A4)    ; ref=0010 set=0000 live=fbfd
  294.     bne    l75            ; ref=0010 set=0000 live=fbfd
  295.     subq.l    #1,D0            ; ref=0100 set=0100 live=f9fd
  296.     move.l    D0,D2            ; ref=0100 set=0400 live=fdfd
  297.     sub.l    _IntGlob(A4),D2        ; ref=0410 set=0400 live=fdfd
  298.     move.l    D2,(A0)            ; ref=0401 set=0000 live=f9fd
  299.     moveq.l    #0,D1            ; ref=0000 set=0200 live=fbfd
  300. l75    tst.l    D1            ; ref=0200 set=0000 live=fbfd
  301.     bne    l70            ; ref=0010 set=0000 live=fbfd
  302.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=fdfc
  303.     rts                ; ref=fdfc set=0080 live=fd7c
  304. l82    equ    12
  305.     procend
  306.     procstart
  307.     xdef    _Proc3
  308. _Proc3    move.l    A2,-(sp)        ; ref=0084 set=0080 live=fcf8
  309.     move.l    l91-4(sp),A2        ; ref=0080 set=0004 live=fcfc
  310.     tst.l    _PtrGlb(A4)        ; ref=0010 set=0000 live=fcfc
  311.     beq    l87            ; ref=0010 set=0000 live=fcfc
  312.     move.l    _PtrGlb(A4),A0        ; ref=0010 set=0001 live=fcfd
  313.     move.l    (A0),(A2)        ; ref=0005 set=0000 live=fcf8
  314.     bra    l88            ; ref=0010 set=0000 live=fcf8
  315. l87    moveq.l    #100,D0            ; ref=0000 set=0100 live=fdf8
  316.     move.l    D0,_IntGlob(A4)        ; ref=0110 set=0000 live=fcf8
  317. l88    move.l    _PtrGlb(A4),A0        ; ref=0010 set=0001 live=fcf9
  318.     pea.l    12(A0)            ; ref=0081 set=0080 live=fcf8
  319.     move.l    _IntGlob(A4),-(sp)    ; ref=0090 set=0080 live=fcf8
  320.     pea    10.W            ; ref=0090 set=0080 live=fcf8
  321.     bsr    _Proc7            ; ref=0090 set=0383 live=fdf8
  322.     lea    12(sp),sp        ; ref=0080 set=0080 live=fdf8
  323.     move.l    (sp)+,A2        ; ref=0080 set=0084 live=fdfc
  324.     rts                ; ref=fdfc set=0080 live=fd7c
  325. l91    equ    12
  326.     procend
  327.     procstart
  328.     xdef    _Proc4
  329. _Proc4    moveq    #66,D0            ; ref=0000 set=0100 live=fdfc
  330.     move.b    D0,_Char2Glob(A4)    ; ref=0110 set=0000 live=fcfc
  331.     moveq.l    #0,D0            ; ref=0000 set=0100 live=fdfc
  332.     rts                ; ref=fdfc set=0080 live=fd7c
  333.     procend
  334.     procstart
  335.     xdef    _Proc5
  336. _Proc5    moveq    #65,D0            ; ref=0000 set=0100 live=fdfc
  337.     move.b    D0,_Char1Glob(A4)    ; ref=0110 set=0000 live=fcfc
  338.     moveq.l    #0,D0            ; ref=0000 set=0100 live=fdfc
  339.     move.l    D0,_BoolGlob(A4)    ; ref=0110 set=0000 live=fdfc
  340.     rts                ; ref=fdfc set=0080 live=fd7c
  341.     procend
  342.     procstart
  343.     xdef    _Proc6
  344. _Proc6    move.l    A2,-(sp)        ; ref=0084 set=0080 live=fcf8
  345.     move.l    D2,-(sp)        ; ref=0480 set=0080 live=f8f8
  346.     move.l    l121-4(sp),D2        ; ref=0080 set=0400 live=fcf8
  347.     move.l    l121+0(sp),A2        ; ref=0080 set=0004 live=fcfc
  348.     move.l    D2,(A2)            ; ref=0404 set=0000 live=fcfc
  349.     move.l    D2,-(sp)        ; ref=0480 set=0080 live=fcfc
  350.     bsr    _Func3            ; ref=0090 set=0383 live=fdfc
  351.     addq.l    #4,sp            ; ref=0080 set=0080 live=fdfc
  352.     tst.l    D0            ; ref=0100 set=0000 live=fcfc
  353.     bne    l107            ; ref=0010 set=0000 live=fcfc
  354.     moveq.l    #3,D0            ; ref=0000 set=0100 live=fdfc
  355.     move.l    D0,(A2)            ; ref=0104 set=0000 live=fcfc
  356. l107    move.l    D2,D0            ; ref=0400 set=0100 live=f9fc
  357.     beq    l111            ; ref=0010 set=0000 live=f9fc
  358.     subq.l    #1,D0            ; ref=0100 set=0100 live=f9fc
  359.     beq    l112            ; ref=0010 set=0000 live=f9fc
  360.     subq.l    #1,D0            ; ref=0100 set=0100 live=f9fc
  361.     beq    l116            ; ref=0010 set=0000 live=f9fc
  362.     subq.l    #1,D0            ; ref=0100 set=0100 live=f9fc
  363.     beq    l110            ; ref=0010 set=0000 live=f9fc
  364.     subq.l    #1,D0            ; ref=0100 set=0100 live=f8fc
  365.     beq    l118            ; ref=0010 set=0000 live=f8fc
  366.     bra    l110            ; ref=0010 set=0000 live=f8f8
  367. l111    clr.l    (A2)            ; ref=0004 set=0000 live=f8f8
  368.     bra    l110            ; ref=0010 set=0000 live=f8f8
  369. l112    moveq.l    #100,D0            ; ref=0000 set=0100 live=f9fc
  370.     cmp.l    _IntGlob(A4),D0        ; ref=0110 set=0000 live=f8fc
  371.     bge    l114            ; ref=0010 set=0000 live=f8fc
  372.     clr.l    (A2)            ; ref=0004 set=0000 live=f8f8
  373.     bra    l110            ; ref=0010 set=0000 live=f8f8
  374. l114    moveq.l    #3,D0            ; ref=0000 set=0100 live=f9fc
  375.     move.l    D0,(A2)            ; ref=0104 set=0000 live=f8f8
  376.     bra    l110            ; ref=0010 set=0000 live=f8f8
  377. l116    moveq.l    #1,D0            ; ref=0000 set=0100 live=f9fc
  378.     move.l    D0,(A2)            ; ref=0104 set=0000 live=f8f8
  379.     bra    l110            ; ref=0010 set=0000 live=f8f8
  380. l118    moveq.l    #2,D0            ; ref=0000 set=0100 live=f9fc
  381.     move.l    D0,(A2)            ; ref=0104 set=0000 live=f8f8
  382. l110    moveq.l    #0,D0            ; ref=0000 set=0100 live=f9f8
  383.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=fdf8
  384.     move.l    (sp)+,A2        ; ref=0080 set=0084 live=fdfc
  385.     rts                ; ref=fdfc set=0080 live=fd7c
  386. l121    equ    16
  387.     procend
  388.     procstart
  389.     xdef    _Proc7
  390. _Proc7    move.l    D2,-(sp)        ; ref=0480 set=0080 live=f8fc
  391.     subq.l    #4,sp            ; ref=0080 set=0080 live=f8fc
  392.     move.l    l127-4(sp),D2        ; ref=0080 set=0400 live=fcfc
  393.     move.l    l127+0(sp),D1        ; ref=0080 set=0200 live=fefc
  394.     move.l    l127+4(sp),A0        ; ref=0080 set=0001 live=fefd
  395.     addq.l    #2,D2            ; ref=0400 set=0400 live=fefd
  396.     add.l    D1,D2            ; ref=0600 set=0400 live=fcfd
  397.     move.l    D2,(A0)            ; ref=0401 set=0000 live=f8fc
  398.     moveq.l    #0,D0            ; ref=0000 set=0100 live=f9fc
  399.     addq.l    #4,sp            ; ref=0080 set=0080 live=f9fc
  400.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=fdfc
  401.     rts                ; ref=fdfc set=0080 live=fd7c
  402. l127    equ    16
  403.     procend
  404.     procstart
  405.     xdef    _Proc8
  406. _Proc8    movem.l    D3-D5/A2/A3,-(sp)    ; ref=388c set=0080 live=c4f0
  407.     subq.l    #4,sp            ; ref=0080 set=0080 live=c4f0
  408.     move.l    l136-4(sp),A2        ; ref=0080 set=0004 live=c4f4
  409.     move.l    l136+0(sp),A3        ; ref=0080 set=0008 live=c4fc
  410.     move.l    l136+4(sp),D4        ; ref=0080 set=1000 live=d4fc
  411.     move.l    l136+8(sp),D3        ; ref=0080 set=0800 live=dcfc
  412.     addq.l    #5,D4            ; ref=1000 set=1000 live=dcfc
  413.     move.l    D3,0(A2,D4.l*4)        ; ref=1804 set=0000 live=dcfc
  414.     moveq.l    #30,D0            ; ref=0000 set=0100 live=ddfc
  415.     move.l    D3,4(A2,D4.l*4)        ; ref=1804 set=0000 live=d5fc
  416.     add.l    D4,D0            ; ref=1100 set=0100 live=d5fc
  417.     move.l    D4,0(A2,D0.l*4)        ; ref=1104 set=0000 live=d4fc
  418.     move.l    D4,D5            ; ref=1000 set=2000 live=f4fc
  419.     bra    l133            ; ref=0010 set=0000 live=f4fc
  420. l130    move.l    D4,D0            ; ref=1000 set=0100 live=f5fc
  421.     moveq    #51,D1            ; ref=0000 set=0200 live=f7fc
  422.     not.b    D1            ; ref=0200 set=0200 live=f7fc
  423.     bsr    __muls            ; ref=0390 set=0383 live=f5fc
  424.     move.l    A3,A0            ; ref=0008 set=0001 live=f5fd
  425.     add.l    D0,A0            ; ref=0101 set=0001 live=f4fd
  426.     move.l    D4,0(A0,D5.l*4)        ; ref=3001 set=0000 live=f4fc
  427.     addq.l    #1,D5            ; ref=2000 set=2000 live=f4fc
  428. l133    move.l    D4,D1            ; ref=1000 set=0200 live=f6fc
  429.     addq.l    #1,D1            ; ref=0200 set=0200 live=f6fc
  430.     cmp.l    D5,D1            ; ref=2200 set=0000 live=f4fc
  431.     bge    l130            ; ref=0010 set=0000 live=f4fc
  432.     move.l    D4,D0            ; ref=1000 set=0100 live=d5fc
  433.     moveq    #51,D1            ; ref=0000 set=0200 live=d7fc
  434.     not.b    D1            ; ref=0200 set=0200 live=d7fc
  435.     bsr    __muls            ; ref=0390 set=0383 live=d5fc
  436.     move.l    A3,A0            ; ref=0008 set=0001 live=d5fd
  437.     add.l    D0,A0            ; ref=0101 set=0001 live=d4fd
  438.     addq.l    #1,-4(A0,D4.l*4)    ; ref=1001 set=0000 live=d4fc
  439.     moveq.l    #20,D0            ; ref=0000 set=0100 live=d5fc
  440.     add.l    D4,D0            ; ref=1100 set=0100 live=d5fc
  441.     moveq    #51,D1            ; ref=0000 set=0200 live=d7fc
  442.     not.b    D1            ; ref=0200 set=0200 live=d7fc
  443.     bsr    __muls            ; ref=0390 set=0383 live=d5fc
  444.     move.l    A3,A0            ; ref=0008 set=0001 live=d5f5
  445.     add.l    D0,A0            ; ref=0101 set=0001 live=d5f5
  446.     move.l    0(A2,D4.l*4),0(A0,D4.l*4)
  447.                     ; ref=1005 set=0000 live=c5f0
  448.     moveq.l    #5,D4            ; ref=0000 set=1000 live=d5f0
  449.     move.l    D4,_IntGlob(A4)        ; ref=1010 set=0000 live=c5f0
  450.     addq.l    #4,sp            ; ref=0080 set=0080 live=c5f0
  451.     move.l    (sp)+,D3        ; ref=0080 set=0880 live=cdf0
  452.     move.l    (sp)+,D4        ; ref=0080 set=1080 live=ddf0
  453.     move.l    (sp)+,D5        ; ref=0080 set=2080 live=fdf0
  454.     move.l    (sp)+,A2        ; ref=0080 set=0084 live=fdf4
  455.     move.l    (sp)+,A3        ; ref=0080 set=0088 live=fdfc
  456.     rts                ; ref=fdfc set=0080 live=fd7c
  457. l136    equ    32
  458.     procend
  459.     procstart
  460.     xdef    _Func1
  461. _Func1    move.l    D2,-(sp)        ; ref=0480 set=0080 live=f8fc
  462.     subq.l    #4,sp            ; ref=0080 set=0080 live=f8fc
  463.     move.b    l145-1(sp),D2        ; ref=0080 set=0400 live=fcfc
  464.     move.b    l145+3(sp),D1        ; ref=0080 set=0200 live=fefc
  465.     cmp.b    D2,D1            ; ref=0600 set=0000 live=f8fc
  466.     beq    l141            ; ref=0010 set=0000 live=f8fc
  467.     moveq.l    #0,D0            ; ref=0000 set=0100 live=f9fc
  468.     bra    l142            ; ref=0010 set=0000 live=f9fc
  469. l141    moveq.l    #1,D0            ; ref=0000 set=0100 live=f9fc
  470. l142    addq.l    #4,sp            ; ref=0080 set=0080 live=f9fc
  471.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=fdfc
  472.     rts                ; ref=fdfc set=0080 live=fd7c
  473. l145    equ    16
  474.     procend
  475.     procstart
  476.     xdef    _Func2
  477. _Func2    movem.l    D2/D3/A2/A3,-(sp)    ; ref=0c8c set=0080 live=f8f0
  478.     move.l    l166-4(sp),A2        ; ref=0080 set=0004 live=f8f4
  479.     move.l    l166+0(sp),A3        ; ref=0080 set=0008 live=f8fc
  480.     moveq.l    #1,D2            ; ref=0000 set=0400 live=fcfc
  481. l149    subq.l    #4,sp            ; ref=0080 set=0080 live=fcfc
  482.     move.b    1(A3,D2.l),3(sp)    ; ref=0488 set=0000 live=fcfc
  483.     subq.l    #4,sp            ; ref=0080 set=0080 live=fcfc
  484.     move.b    0(A2,D2.l),3(sp)    ; ref=0484 set=0000 live=fcfc
  485.     bsr    _Func1            ; ref=0090 set=0383 live=fdfc
  486.     addq.l    #8,sp            ; ref=0080 set=0080 live=fdfc
  487.     tst.l    D0            ; ref=0100 set=0000 live=fcfc
  488.     bne    l153            ; ref=0010 set=0000 live=fcfc
  489.     moveq.l    #65,D3            ; ref=0000 set=0800 live=fcfc
  490.     addq.l    #1,D2            ; ref=0400 set=0400 live=fcfc
  491. l153    moveq.l    #1,D0            ; ref=0000 set=0100 live=fdfc
  492.     cmp.l    D2,D0            ; ref=0500 set=0000 live=fcfc
  493.     bge    l149            ; ref=0010 set=0000 live=fcfc
  494.     moveq    #88,D0            ; ref=0000 set=0100 live=f9fc
  495.     cmp.b    D0,D3            ; ref=0900 set=0000 live=f0fc
  496.     bne    l159            ; ref=0010 set=0000 live=f0fc
  497.     moveq.l    #1,D0            ; ref=0000 set=0100 live=f1f0
  498.     bra    l163            ; ref=0010 set=0000 live=f1f0
  499. l159    move.l    A3,-(sp)        ; ref=0088 set=0080 live=f0f4
  500.     move.l    A2,-(sp)        ; ref=0084 set=0080 live=f0f0
  501.     bsr    _strcmp            ; ref=0090 set=0383 live=f1f0
  502.     addq.l    #8,sp            ; ref=0080 set=0080 live=f1f0
  503.     tst.l    D0            ; ref=0100 set=0000 live=f0f0
  504.     ble    l162            ; ref=0010 set=0000 live=f0f0
  505.     moveq.l    #1,D0            ; ref=0000 set=0100 live=f1f0
  506.     bra    l163            ; ref=0010 set=0000 live=f1f0
  507. l162    moveq.l    #0,D0            ; ref=0000 set=0100 live=f1f0
  508. l163    move.l    (sp)+,D2        ; ref=0080 set=0480 live=f5f0
  509.     move.l    (sp)+,D3        ; ref=0080 set=0880 live=fdf0
  510.     move.l    (sp)+,A2        ; ref=0080 set=0084 live=fdf4
  511.     move.l    (sp)+,A3        ; ref=0080 set=0088 live=fdfc
  512.     rts                ; ref=fdfc set=0080 live=fd7c
  513. l166    equ    24
  514.     procend
  515.     procstart
  516.     xdef    _Func3
  517. _Func3    subq.l    #4,sp            ; ref=0080 set=0080 live=fcfc
  518.     move.l    l180-4(sp),D1        ; ref=0080 set=0200 live=fefc
  519.     subq.l    #2,D1            ; ref=0200 set=0200 live=fcfc
  520.     bne    l176            ; ref=0010 set=0000 live=fcfc
  521.     moveq.l    #1,D0            ; ref=0000 set=0100 live=fdfc
  522.     bra    l179            ; ref=0010 set=0000 live=fdfc
  523. l176    moveq.l    #0,D0            ; ref=0000 set=0100 live=fdfc
  524. l179    addq.l    #4,sp            ; ref=0080 set=0080 live=fdfc
  525.     rts                ; ref=fdfc set=0080 live=fd7c
  526. l180    equ    12
  527.     procend
  528.     procstart
  529.     xdef    _strcpy
  530. _strcpy    subq.l    #8,sp            ; ref=0080 set=0080 live=fdfc
  531.     move.l    l189-4(sp),A0        ; ref=0080 set=0001 live=fdfd
  532.     move.l    l189+0(sp),A1        ; ref=0080 set=0002 live=fdff
  533.     bra    l185            ; ref=0010 set=0000 live=fdff
  534. l184    move.b    (A1)+,(A0)+        ; ref=0003 set=0003 live=fdff
  535. l185    tst.b    (A1)            ; ref=0002 set=0000 live=fdff
  536.     bne    l184            ; ref=0010 set=0000 live=fdff
  537.     addq.l    #8,sp            ; ref=0080 set=0080 live=fdfc
  538.     rts                ; ref=fdfc set=0080 live=fd7c
  539. l189    equ    16
  540.     procend
  541.     procstart
  542.     xdef    _strcmp
  543. _strcmp    subq.l    #8,sp            ; ref=0080 set=0080 live=fcfc
  544.     move.l    l200-4(sp),A0        ; ref=0080 set=0001 live=fcfd
  545.     move.l    l200+0(sp),A1        ; ref=0080 set=0002 live=fcff
  546.     bra    l196            ; ref=0010 set=0000 live=fcff
  547. l192    tst.b    (A1)            ; ref=0002 set=0000 live=fcff
  548.     bne    l203            ; ref=0010 set=0000 live=fcff
  549. l196    move.b    (A0)+,D0        ; ref=0001 set=0101 live=fdff
  550.     cmp.b    (A1)+,D0        ; ref=0102 set=0002 live=fcff
  551.     beq    l192            ; ref=0010 set=0000 live=fcff
  552. l203    move.b    (A0),D0            ; ref=0001 set=0100 live=fdfe
  553.     sub.b    (A1),D0            ; ref=0102 set=0100 live=fdfc
  554.     extb.l    D0            ; ref=0100 set=0100 live=fdfc
  555.     addq.l    #8,sp            ; ref=0080 set=0080 live=fdfc
  556.     rts                ; ref=fdfc set=0080 live=fd7c
  557. l200    equ    16
  558.     procend
  559.     xref    __divu
  560.     xref    __mulu
  561.     xref    __mods
  562.     xref    __divs
  563.     xref    __muls
  564.     xref    _CurrentTime
  565.     xref    _printf
  566.     xref    _malloc
  567.     xref    _Permit
  568.     xref    _Forbid
  569. l37    dc.b    84,$68,$69,$73,$20,$6D,$61,$63,$68,$69,$6E,$65
  570.     dc.b    32,$62,$65,$6E,$63,$68,$6D,$61,$72,$6B,$73,$20
  571.     dc.b    97,$74,$20,$25,$6C,$64,$20,$64,$68,$72,$79,$73
  572.     dc.b    116,$6F,$6E,$65,$73,$2F,$73,$65,$63,$6F,$6E,$64
  573.     dc.b    10,0
  574. l36    dc.b    68,$68,$72,$79,$73,$74,$6F,$6E,$65,$20,$74,$69
  575.     dc.b    109,$65,$20,$66,$6F,$72,$20,$25,$6C,$64,$20,$70
  576.     dc.b    97,$73,$73,$65,$73,$20,$3D,$20,$25,$6C,$64,$2E
  577.     dc.b    37,$30,$33,$64,$0A,$00
  578. l35    dc.b    68,$48,$52,$59,$53,$54,$4F,$4E,$45,$20,$50,$52
  579.     dc.b    79,$47,$52,$41,$4D,$2C,$20,$32,$27,$4E,$44,$20
  580.     dc.b    83,$54,$52,$49,$4E,$47,$00
  581. l34    dc.b    68,$48,$52,$59,$53,$54,$4F,$4E,$45,$20,$50,$52
  582.     dc.b    79,$47,$52,$41,$4D,$2C,$20,$53,$4F,$4D,$45,$20
  583.     dc.b    83,$54,$52,$49,$4E,$47,$00
  584.     end
  585.